import request from '@/utils/request'

export function getPermList(query) {
  /*return request({
    url: '/sys/perm/list',
    method: 'POST',
    params: query
  })*/
  return request({
    url: '/sys/perm/list',
    method: 'post'
  })
}

export function addSubPerm(query) {
  return request({
    url: '/sys/perm/add',
    method: 'POST',
    params: query
  })
}
